<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>消息框的使用</title>
    <script type="text/javascript" src="../js/jquery-1.8.3.js" ></script>
    <script type="text/javascript" src="../js/easyui/jquery.easyui.min.js" ></script>
    <script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js" ></script>
    <link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
    <link rel="stylesheet" href="../js/easyui/themes/icon.css" />
</head>
<body>
    
</body>
<script>
    // $.messager.alert("标题","内容","warning");

    // $.messager.confirm("删除提示", "确定删除吗", function(result){
    //     if (result) {
    //         alert("执行删除...");
    //     } else {
    //         alert("取消删除...");
    //     }
    // });

    // $.messager.prompt("调查窗口", "你叫什么名字?", function(val){
    //     alert("你好," + val);
    // });

    // $.messager.show({
    //     title: "标题",
    //     msg: "减价大促销, <a href='#'>请猛戳这里</a>",
    //     timeout: 5000,
    // });

    $.messager.progress({
        interval: 1000
    });

    setTimeout(() => {
        $.messager.progress("close");
    }, 5000);

</script>
</html>